// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'      //用于实现浏览器不支持原生功能的代码
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from "@/config/fetch.js"
import FastClick from "fastclick"
 Vue.prototype.$http = axios;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  render: h => h(App)
})
FastClick.attach(document.body)
